/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Formas;

import java.awt.Graphics;

/**
 *
 * @author Pedro
 */
public class CirculoPreenchido extends Circulo {

     public CirculoPreenchido(int sX, int sY, int width, int height)
    {
       super(sX,sY, width,height);
    }

    @Override
    public Forma drawForma(Graphics g) {
        g.setColor(super.getCor());
        g.fillOval(super.getsX(), super.getsY(), super.getWidth(), super.getHeight());
        return this;
    }
}
